package com.school.zhaoban.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 又菜又爱玩
 * @since 2022-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Major对象", description="")
public class Major implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "Id", type = IdType.ASSIGN_UUID)
    private Long id;

    @ApiModelProperty(value = "专业名称")
    private String majorName;

    @ApiModelProperty(value = "父id")
    private Long parentId;

    @ApiModelProperty(value = "专业图片")
    private String image;

    @ApiModelProperty(value = "专业介绍")
    private String introduce;

    @ApiModelProperty(value = "创建时间")
    private Date creatTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
